<?php if($adc->getCurrentAdTypeId() > 0): ?>
	<?php if($theme->getBootstrap() > 2): ?>
    <div class="control-group">
        <label for="ymin"><?php echo ucfirst($txt->getWord('year_production')); ?></label>
        <div class="controls row">
            <div class="col-md-4 col-sm-4 col-xs-4">
                <input placeholder="1990" class="input-mini numeric form-control" type="number" name="ymin" onclick="this.value='';" value="<?php if(intval($_REQUEST['ymin']) > 0) { echo intval($_REQUEST['ymin']); } ?>" />
            </div>
            <div class="col-md-1 col-sm-1 col-xs-1">
                <p class="form-control-static">-</p>
            </div>
            <div class="col-md-4 col-sm-4 col-xs-4">
                <input placeholder="<?php echo date('Y'); ?>" class="input-mini numeric form-control" type="number" name="ymax" onclick="this.value='';" value="<?php if(intval($_REQUEST['ymax']) > 0) { echo intval($_REQUEST['ymax']); } ?>" />
            </div>
            <div class="col-md-3 col-sm-3 col-xs-3">
            	<button type="submit" class="btn <?php echo $adc->getSetting('SearchBtnClass'); ?>" name="search"><?php echo ucfirst($txt->getWord('search')); ?></button>
            </div>
        </div>
    </div>
    <?php else: ?>
    <div class="control-group">
        <label class="control-label" for="ymin"><?php echo ucfirst($txt->getWord('year_production')); ?></label>
        <div class="controls">
            <input placeholder="1990" class="input-mini numeric" type="text" name="ymin" onclick="this.value='';" value="<?php if(intval($_REQUEST['ymin']) > 0) { echo intval($_REQUEST['ymin']); } ?>" />
            <span>&nbsp;-&nbsp;</span>
            <input placeholder="<?php echo date('Y'); ?>" class="input-mini numeric" type="text" name="ymax" onclick="this.value='';" value="<?php if(intval($_REQUEST['ymax']) > 0) { echo intval($_REQUEST['ymax']); } ?>" />
            <button type="submit" class="btn <?php echo $adc->getSetting('SearchBtnClass'); ?>" name="search"><?php echo ucfirst($txt->getWord('search')); ?></button>
        </div>
    </div>
    <?php endif; ?>
<?php endif; ?>